package com.holly.common.utils;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 2017/1/3 <br/>
 *
 * @author Joey Huang QQ:273179370）
 */

public class CollectionUtils {
    public static boolean isEmpty(Collection collection) {
        return (collection == null || collection.isEmpty());
    }

    public static boolean isEmpty(Map map) {
        return (map == null || map.isEmpty());
    }

    public static boolean isEmpty(List list) {
        return (list == null || list.isEmpty());
    }

}
